package kr.saeildamil.androidforstudy2.ch23;

import kr.saeildamil.androidforstudy2.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch23Main extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch23_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch (v.getId()) {
		case R.id.ch23_btn01:
			intent.setClass(this, FrameAnimationTest.class);
			break;
		case R.id.ch23_btn02:
			intent.setClass(this, AnimationTest.class);
			break;
		case R.id.ch23_btn03:
			intent.setClass(this, AninamtionAttr.class);
			break;
		case R.id.ch23_btn04:
			intent.setClass(this, AnimationSetTest.class);
			break;
		case R.id.ch23_btn05:
			intent.setClass(this, CustomAnimation.class);
			break;
		case R.id.ch23_btn06:
			intent.setClass(this, AnimationListenerTest.class);
			break;
		case R.id.ch23_btn07:
			intent.setClass(this, ListAnimationTest.class);
			break;
		case R.id.ch23_btn08:
			intent.setClass(this, ViewFlipperTest.class);
			break;
		case R.id.ch23_btn09:
			intent.setClass(this, TextSwitcherTest.class);
			break;
		/*case R.id.ch23_btn10:
			intent.setClass(this, ImageSwitcherTest.class);
			break;*/
		case R.id.ch23_btn11:
			intent.setClass(this, TweenAnimationTest.class);
			break;
		}
		startActivity(intent);
	}
}
